using System;
using System.Collections.Generic;
using System.Text;
using DAL;
using Models;

namespace BLL
{

    public static partial class VideoPointManager
    {
        public static bool AddVideoPoint(VideoPoint videoPoint)
        {
            return VideoPointService.AddVideoPoint(videoPoint);
        }

        public static bool DeleteVideoPointByID(int iD)
        {
            return VideoPointService.DeleteVideoPointByID(iD);
        }

		public static bool ModifyVideoPoint(VideoPoint videoPoint)
        {
            return VideoPointService.ModifyVideoPoint(videoPoint);
        }
        
        public static IList<VideoPoint> GetAllVideoPoints()
        {
            return VideoPointService.GetAllVideoPoints();
        }

        public static int GetVideoPointsCountByVideoID(int videoID)
        {
            return VideoPointService.GetVideoPointsCountByVideoID(videoID);
        }

        public static float GetVideoPointsSumByVideoID(int videoID)
        {
            return VideoPointService.GetVideoPointsSumByVideoID(videoID);
        }

        public static bool GetVideoPointsByIP(string ip, int videoID)
        {
            return VideoPointService.GetVideoPointsByIP(ip, videoID);
        }

      

        public static VideoPoint GetVideoPointByID(int iD)
        {
            return VideoPointService.GetVideoPointByID(iD);
        }

    }
}
